

		** Analysing the five core variables ***
		* vt_lag   comp pr gni_ln_sl pop_ln_sl *

		cd  "/Users/rich/Dropbox/research/Rich & Ferran/EBA turnout/data/completed data/completed AWS data files (raw)/vta/"

		local var "pop_ln_sl"
		
		** 1 **
		use	eba_vta_1_aws.dta, clear
		keep if var=="`var'"
		save `var'1.dta, replace
 
 		** 2 **
		use	eba_vta_2_aws.dta, clear
		keep if var=="`var'"
		save `var'2.dta, replace
 
 		** 3 **
		use	eba_vta_3_aws.dta, clear
		keep if var=="`var'"
		save `var'3.dta, replace
 
 		** 4 **
		use	eba_vta_4_aws.dta, clear
		keep if var=="`var'"
		save `var'4.dta, replace
 
 		** 5 **
		use	eba_vta_5_aws.dta, clear
		keep if var=="`var'"
		save `var'5.dta, replace
 
 		** 6 **
		use	eba_vta_6_aws.dta, clear
		keep if var=="`var'"
		save `var'6.dta, replace
 
 		** 7 **
		use	eba_vta_7_aws.dta, clear
		keep if var=="`var'"
		save `var'7.dta, replace
 
 		** 8 **
		use	eba_vta_8_aws.dta, clear
		keep if var=="`var'"
		save `var'8.dta, replace
 
 		** 9 **
		use	eba_vta_9_aws.dta, clear
		keep if var=="`var'"
		save `var'9.dta, replace
 
 		** 10 **
		use	eba_vta_10_aws.dta, clear
		keep if var=="`var'"
		save `var'10.dta, replace

		** 11 **
		use	eba_vta_11_aws.dta, clear
		keep if var=="`var'"
		save `var'11.dta, replace
 
 		** 12 **
		use	eba_vta_12_aws.dta, clear
		keep if var=="`var'"
		save `var'12.dta, replace
 
 		** 13 **
		use	eba_vta_13_aws.dta, clear
		keep if var=="`var'"
		save `var'13.dta, replace
 
 		** 14 **
		use	eba_vta_14_aws.dta, clear
		keep if var=="`var'"
		save `var'14.dta, replace
 
 		** 15 **
		use	eba_vta_15_aws.dta, clear
		keep if var=="`var'"
		save `var'15.dta, replace
 
 		** 16 **
		use	eba_vta_16_aws.dta, clear
		keep if var=="`var'"
		save `var'16.dta, replace
 
 		** 17 **
		use	eba_vta_17_aws.dta, clear
		keep if var=="`var'"
		save `var'17.dta, replace
 
 		** 18 **
		use	eba_vta_18_aws.dta, clear
		keep if var=="`var'"
		save `var'18.dta, replace
 
 		** 19 **
		use	eba_vta_19_aws.dta, clear
		keep if var=="`var'"
		save `var'19.dta, replace
 
 		** 20 **
		use	eba_vta_20_aws.dta, clear
		keep if var=="`var'"
		save `var'20.dta, replace		
		
		** 21 **
		use	eba_vta_21_aws.dta, clear
		keep if var=="`var'"
		save `var'21.dta, replace
 
 		** 22 **
		use	eba_vta_22_aws.dta, clear
		keep if var=="`var'"
		save `var'22.dta, replace
 
 		** 23 **
		use	eba_vta_23_aws.dta, clear
		keep if var=="`var'"
		save `var'23.dta, replace
 
 		** 24 **
		use	eba_vta_24_aws.dta, clear
		keep if var=="`var'"
		save `var'24.dta, replace
 
 		** 25 **
		use	eba_vta_25_aws.dta, clear
		keep if var=="`var'"
		save `var'25.dta, replace
 
 		** 26 **
		use	eba_vta_26_aws.dta, clear
		keep if var=="`var'"
		save `var'26.dta, replace
 
 		** 27 **
		use	eba_vta_27_aws.dta, clear
		keep if var=="`var'"
		save `var'27.dta, replace
 
 		** 28 **
		use	eba_vta_28_aws.dta, clear
		keep if var=="`var'"
		save `var'28.dta, replace
 
 		** 29 **
		use	eba_vta_29_aws.dta, clear
		keep if var=="`var'"
		save `var'29.dta, replace
 
 		** 30 **
		use	eba_vta_30_aws.dta, clear
		keep if var=="`var'"
		save `var'30.dta, replace		
		
		** 31 **
		use	eba_vta_31_aws.dta, clear
		keep if var=="`var'"
		save `var'31.dta, replace
 
 		** 32 **
		use	eba_vta_32_aws.dta, clear
		keep if var=="`var'"
		save `var'32.dta, replace
 
 		** 33 **
		use	eba_vta_33_aws.dta, clear
		keep if var=="`var'"
		save `var'33.dta, replace
 
 		** 34 **
		use	eba_vta_34_aws.dta, clear
		keep if var=="`var'"
		save `var'34.dta, replace
 
 		** 35 **
		use	eba_vta_35_aws.dta, clear
		keep if var=="`var'"
		save `var'35.dta, replace
 
 		** 36 **
		use	eba_vta_36_aws.dta, clear
		keep if var=="`var'"
		save `var'36.dta, replace
 
 		** 37 **
		use	eba_vta_37_aws.dta, clear
		keep if var=="`var'"
		save `var'37.dta, replace
 
 		** 38 **
		use	eba_vta_38_aws.dta, clear
		keep if var=="`var'"
		save `var'38.dta, replace
 
 		** 39 **
		use	eba_vta_39_aws.dta, clear
		keep if var=="`var'"
		save `var'39.dta, replace
 
 		** 40 **
		use	eba_vta_40_aws.dta, clear
		keep if var=="`var'"
		save `var'40.dta, replace		
		
		** 41 **
		use	eba_vta_41_aws.dta, clear
		keep if var=="`var'"
		save `var'41.dta, replace
 
 		** 42 **
		use	eba_vta_42_aws.dta, clear
		keep if var=="`var'"
		save `var'42.dta, replace
 
 		** 43 **
		use	eba_vta_43_aws.dta, clear
		keep if var=="`var'"
		save `var'43.dta, replace
 
 		** 44 **
		use	eba_vta_44_aws.dta, clear
		keep if var=="`var'"
		save `var'44.dta, replace
 
 		** 45 **
		use	eba_vta_45_aws.dta, clear
		keep if var=="`var'"
		save `var'45.dta, replace
 
 		** 46 **
		use	eba_vta_46_aws.dta, clear
		keep if var=="`var'"
		save `var'46.dta, replace
 
 		** 47 **
		use	eba_vta_47_aws.dta, clear
		keep if var=="`var'"
		save `var'47.dta, replace
 
 		** 48 **
		use	eba_vta_48_aws.dta, clear
		keep if var=="`var'"
		save `var'48.dta, replace
 
 		** 49 **
		use	eba_vta_49_aws.dta, clear
		keep if var=="`var'"
		save `var'49.dta, replace
 
 		** 50 **
		use	eba_vta_50_aws.dta, clear
		keep if var=="`var'"
		save `var'50.dta, replace
		
		** 51 **
		use	eba_vta_51.dta, clear
		keep if var=="`var'"
		save `var'51.dta, replace
 
 		** 52 **
		use	eba_vta_52.dta, clear
		keep if var=="`var'"
		save `var'52.dta, replace
 
 		** 53 **
		use	eba_vta_53.dta, clear
		keep if var=="`var'"
		save `var'53.dta, replace
 
 		** 54 **
		use	eba_vta_54.dta, clear
		keep if var=="`var'"
		save `var'54.dta, replace
 
 		** 55 **
		use	eba_vta_55.dta, clear
		keep if var=="`var'"
		save `var'55.dta, replace
 
 		** 56 **
		use	eba_vta_56.dta, clear
		keep if var=="`var'"
		save `var'56.dta, replace
 
 		** 57 **
		use	eba_vta_57.dta, clear
		keep if var=="`var'"
		save `var'57.dta, replace
 
 		** 58 **
		use	eba_vta_58.dta, clear
		keep if var=="`var'"
		save `var'58.dta, replace
 
 		** 59 **
		use	eba_vta_59.dta, clear
		keep if var=="`var'"
		save `var'59.dta, replace
 
 		** 60 **
		use	eba_vta_60.dta, clear
		keep if var=="`var'"
		save `var'60.dta, replace		
		
		** 61 **
		use	eba_vta_61.dta, clear
		keep if var=="`var'"
		save `var'61.dta, replace
 
 		** 62 **
		use	eba_vta_62.dta, clear
		keep if var=="`var'"
		save `var'62.dta, replace
 
 		** 63 **
		use	eba_vta_63.dta, clear
		keep if var=="`var'"
		save `var'63.dta, replace
 
 		** 64 **
		use	eba_vta_64.dta, clear
		keep if var=="`var'"
		save `var'64.dta, replace
 
 		** 65 **
		use	eba_vta_65.dta, clear
		keep if var=="`var'"
		save `var'65.dta, replace
 
 	 
		use	`var'1.dta, clear		
		append using `var'2.dta
		append using `var'3.dta		
		append using `var'4.dta		
		append using `var'5.dta		
		append using `var'6.dta		
		append using `var'7.dta		
		append using `var'8.dta		
		append using `var'9.dta		
		append using `var'10.dta		
 		append using `var'11.dta	
		append using `var'12.dta
		append using `var'13.dta		
		append using `var'14.dta		
		append using `var'15.dta		
		append using `var'16.dta		
		append using `var'17.dta		
		append using `var'18.dta		
		append using `var'19.dta		
		append using `var'20.dta				
 		append using `var'21.dta	
		append using `var'22.dta
		append using `var'23.dta		
		append using `var'24.dta		
		append using `var'25.dta		
		append using `var'26.dta		
		append using `var'27.dta		
		append using `var'28.dta		
		append using `var'29.dta		
		append using `var'30.dta			
 		append using `var'31.dta	
		append using `var'32.dta
		append using `var'33.dta		
		append using `var'34.dta		
		append using `var'35.dta		
		append using `var'36.dta		
		append using `var'37.dta		
		append using `var'38.dta		
		append using `var'39.dta		
		append using `var'40.dta		
 		append using `var'41.dta	
		append using `var'42.dta
		append using `var'43.dta		
		append using `var'44.dta		
		append using `var'45.dta		
		append using `var'46.dta		
		append using `var'47.dta		
		append using `var'48.dta, force		
		append using `var'49.dta, force		
		append using `var'50.dta, force		
 		append using `var'51.dta, force	
		append using `var'52.dta, force
		append using `var'53.dta, force		
		append using `var'54.dta, force		
		append using `var'55.dta, force		
		append using `var'56.dta, force		
		append using `var'57.dta, force		
		append using `var'58.dta, force		
		append using `var'59.dta, force		
		append using `var'60.dta, force		
 		append using `var'61.dta, force	
		append using `var'62.dta, force
		append using `var'63.dta, force		
		append using `var'64.dta, force		
		append using `var'65.dta, force		
	
	
		save core_`var'.dta, replace

		erase `var'1.dta		
		erase `var'2.dta
		erase `var'3.dta		
		erase `var'4.dta		
		erase `var'5.dta		
		erase `var'6.dta		
		erase `var'7.dta		
		erase `var'8.dta		
		erase `var'9.dta		
		erase `var'10.dta		
		erase `var'11.dta	
		erase `var'12.dta
		erase `var'13.dta		
		erase `var'14.dta		
		erase `var'15.dta		
		erase `var'16.dta		
		erase `var'17.dta		
		erase `var'18.dta		
		erase `var'19.dta		
		erase `var'20.dta				
		erase `var'21.dta	
		erase `var'22.dta
		erase `var'23.dta		
		erase `var'24.dta		
		erase `var'25.dta		
		erase `var'26.dta		
		erase `var'27.dta		
		erase `var'28.dta		
		erase `var'29.dta		
		erase `var'30.dta			
		erase `var'31.dta	
		erase `var'32.dta
		erase `var'33.dta		
		erase `var'34.dta		
		erase `var'35.dta		
		erase `var'36.dta		
		erase `var'37.dta		
		erase `var'38.dta		
		erase `var'39.dta		
		erase `var'40.dta		
		erase `var'41.dta	
		erase `var'42.dta
		erase `var'43.dta		
		erase `var'44.dta		
		erase `var'45.dta		
		erase `var'46.dta		
		erase `var'47.dta		
		erase `var'48.dta		
		erase `var'49.dta		
		erase `var'50.dta		
		erase `var'51.dta	
		erase `var'52.dta
		erase `var'53.dta		
		erase `var'54.dta		
		erase `var'55.dta		
		erase `var'56.dta		
		erase `var'57.dta		
		erase `var'58.dta		
		erase `var'59.dta		
		erase `var'60.dta		
		erase `var'61.dta	
		erase `var'62.dta
		erase `var'63.dta		
		erase `var'64.dta		
		erase `var'65.dta
			
			
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
		
